package com.zhy.example.druid.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author zhy
 * @date 2020/1/17 4:13 下午
 * @description 启动类
 */
@SpringBootApplication
@MapperScan("com.zhy.example.druid.demo.dao")
public class DruidApplication {

    private static final Logger logger = LoggerFactory.getLogger(DruidApplication.class);

    public static void main(String[] args) {
//        TimeZone.setDefault(TimeZone.getTimeZone("GMT+8:00"));
        SpringApplication.run(DruidApplication.class, args);
        logger.info("DruidApplication启动成功！");
    }
}
